package com.gsdkjgpt4.sys.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author rendong
 * @since 2024-01-18
 */
@TableName("user")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer userId;

    private String userName;

    private String passWord;

    /**
     * 身份（用户或管理员）
     */
    private Integer position;

    /**
     * 总使用次数
     */
    private Integer totalNumber;

    /**
     * 今日使用次数
     */
    private Integer todayNumber;

    /**
     * 限制单日使用次数
     */
    private Integer limitedNumber;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }
    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }
    public String getPassWord() {
        return passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }
    public Integer getPosition() {
        return position;
    }

    public void setPosition(Integer position) {
        this.position = position;
    }
    public Integer getTotalNumber() {
        return totalNumber;
    }

    public void setTotalNumber(Integer totalNumber) {
        this.totalNumber = totalNumber;
    }
    public Integer getTodayNumber() {
        return todayNumber;
    }

    public void setTodayNumber(Integer todayNumber) {
        this.todayNumber = todayNumber;
    }
    public Integer getLimitedNumber() {
        return limitedNumber;
    }

    public void setLimitedNumber(Integer limitedNumber) {
        this.limitedNumber = limitedNumber;
    }

    @Override
    public String toString() {
        return "User{" +
            "userId=" + userId +
            ", userName=" + userName +
            ", passWord=" + passWord +
            ", position=" + position +
            ", totalNumber=" + totalNumber +
            ", todayNumber=" + todayNumber +
            ", limitedNumber=" + limitedNumber +
        "}";
    }

}
